Specifies the interval in milliseconds that pings are sent to the other end of the connection (defaults to 500).
== Function ==
=== Synopsis ===
<source lang="lua">
peer:ping_interval(interval)
</source>
=== Arguments ===
{{param|number|interval|Time in milliseconds to wait before automatically calling [[enet.peer:ping | peer:ping()]].}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::lua-enet]]
* [[enet.peer]]
* [[enet.peer:ping]]
== Other Languages ==
{{i18n|enet.peer:ping_interval}}